$(document).ready(function() {
    var bodySel = document.getElementsByTagName('body')[0];
    bodySel.innerHTML = `
    <nav class="navbar navbar-expand-lg bg-danger navbar-dark" style="height: 90px; font-size: 1.5em">
        <a class="navbar-brand" href="#" style="font-size: 1.6em">四史学习活动</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapse">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="collapse">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link nav-main" href="recommend_book.html">推荐书籍</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link nav-main" href="information.html">其他信息</a>
                </li>
            </ul>
        </div>
    </nav>
    ` + bodySel.innerHTML;
    document.getElementById('a').innerHTML = '<br>' + document.getElementById('a').innerHTML;
});
